<?php

if(!defined('OT_ROOT')) {
	exit('Access Denied');
}



class AppWorkOrder{
	public static $appName = 'IDC工单系统';
	public static $appID = 127;

	public static function Jud(){
		return false;
	}

	public static function Show($str, $def=''){
			return $def;
	}

	public static function UcTopMenu(){

	}

	public static function UcMenu($mode = 'pc'){

	}

	// 添加/修改
	public static function Add($type='', $mode='pc'){

	}

	public static function Reply($type='', $mode='pc'){

	}

	public static function Manage($mode='pc'){

	}

	public static function LoadInfo(){

	}

	public static function Deal($mode='pc'){

	}

	public static function ReplyDeal($mode='pc'){

	}

	public static function StateDeal($mode='pc'){

	}

	public static function PwdDeal($mode='pc'){

	}

	public static function StateCN($num){
		switch ($num){
			case 0:		return '新问题';
			case 10:	return '<span style="color:green;">处理中</span>';
			case 20:	return '<span style="color:blue;">已回复</span>';
			case 30:	return '<span style="color:green;">等待回复</span>';
			case 40:	return '<span style="color:red;">结束</span>';
			default :	return '['. $num .']';
		}
	}
}
?>